﻿@model AP.Framework.Infrastructure.Entities.cms_CompanyProfile
@Html.ValidationSummary(true)
<script type="text/javascript">
    $(function () {
        $('#Content').xheditor({ upLinkUrl: "/Admin/CompanyProfile/Upload",
            upLinkExt: "zip,rar,txt",
            upImgUrl: "/Admin/CompanyProfile/Upload",
            upImgExt: "jpg,jpeg,gif,png"
        });

    });      
</script>
<br />
<table id="tradeRecordsIndex" class="ui-table">
    <tbody>
        <tr>
            <td class="info">
                标题
            </td>
            <td>
                @Html.TextBoxFor(model => model.Title, new { @placeholder = "标题", style = "width:98%;" })
                @Html.ValidationMessageFor(model => model.Title)
            </td>
        </tr>
        <tr>
            <td class="info">
                作者
            </td>
            <td>
                @Html.TextBoxFor(model => model.Author, new { @placeholder = "作者", style = "width:98%;" })
                @Html.ValidationMessageFor(model => model.Author)
            </td>
        </tr>
        <tr>
            <td class="info">
                摘要
            </td>
            <td>
                @Html.TextAreaFor(model => model.ZhaiYao, new { @placeholder = "摘要", style = "width:98%;height:100px;" })
                @Html.ValidationMessageFor(model => model.ZhaiYao)
            </td>
        </tr>
        <tr>
            <td class="info">
                正文
            </td>
            <td>
                @Html.TextAreaFor(model => model.Content, new { @placeholder = "描述", style = "width:100%; height:300px;" })
                @Html.ValidationMessageFor(model => model.Content)
            </td>
        </tr>
        <tr>
            <td class="info">
                排序号
            </td>
            <td>
                @Html.TextBoxFor(model => model.Sequence, new { @placeholder = "排序号" })
                @Html.ValidationMessageFor(model => model.Sequence)
            </td>
        </tr>
        <tr>
            <td class="info">
                是否隐藏/锁定
            </td>
            <td>
                @Html.CheckBoxFor(model => model.IsDisable)
                @Html.ValidationMessageFor(model => model.IsDisable)
            </td>
        </tr>
        <tr>
            <td class="info">
            </td>
            <td>
                <div class="submit-time ui-button ui-button-sorange">
                    <button type="submit" class="ui-button-text">
                        保 存</button>
                </div>
            </td>
        </tr>
    </tbody>
</table>
